:root {
	--header-height: 8vh;
	--footer-height: 4vh;
	--main-height: calc(100vh - var(--header-height) - var(--footer-height));
}

*{
	padding:0px;
	margin: 0px;
	box-sizing: border-box;
}

body {
	width: 100vw;
	height: 100vh;
	font-size: 12px;
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
	overflow: hidden;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/***设置粒子背景**/
#particleCanvas{
	width: 100%;
	height: 100%;
	position: fixed;
	left: 0;
	top: 0;
	z-index: -1;
}
.container {
	width: 100%;
	height: 100%;
}
.container .headBox {
	width: 100%;
	height: calc(var(--header-height));
	min-height: 32px;
	display: flex;
	justify-content: space-around;
	align-items: center;
	background: rgba(255,255,255,0.05);
}
.container .mainBox {
	height: calc(var(--main-height));
	margin-left: 1%;
	margin-right: 1%;
	margin-top:1%;
	display: grid;
	  /* 定义 3 行，每行自动高度 */
	grid-template-rows: auto auto auto;
	  /* 定义每行的列分布 */
	grid-template-columns: repeat(4, 1fr); /* 创建 4 列，便于第2、3行放4个 */
	gap: 16px; /* 所有元素之间的间距 */
	width: 98%;
	margin: 1% auto;
	box-sizing: border-box;  
}

/* 第1行：只放2个元素，各占2列（合并为4列中的前4个位置） */
.item:nth-child(1) {
  grid-column: span 1; /* 占2列 */
}

.item:nth-child(2) {
  grid-column: span 1; /* 占1列 */
}

/* 第2行：4个元素，各占1列 */
.item:nth-child(3) {
	grid-column: span 2; /* 占2列 */
}
.item:nth-child(4),
.item:nth-child(5),
.item:nth-child(6) {
  grid-column: span 1;
}

/* 第3行：4个元素，各占1列 */
.item:nth-child(7),
.item:nth-child(8),
.item:nth-child(9),
.item:nth-child(10),
.item:nth-child(11) {
  grid-column: span 1;
}

/* 通用样式 */
.item {
	background: rgba(255,255,255,0.05);
	backdrop-filter: blur(10px);
	box-shadow: 0 10px 30px rgb(0 0 0 / 20%);
	transition: transform 0.3s ease;
	color: white;
	padding: 30px 0;
	text-align: center;
	border-radius: 8px;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.container .headBox .headerRow {
	width: 40%;
	height: 8vh;
	line-height: 8vh;
	margin: 0 auto;
	border-top-right-radius: 8vh;
	border-bottom-left-radius: 8vh;
	flex-direction: column;
	font-size: clamp(1.2rem, 4vw, 1rem);
	color: white;
}
.container .headBox .headerRow h1 {
	width: 100%;
	text-align: center;
}
.container .headBox .time {
    font-size: clamp(1.2rem, 4vw, 1rem);
	font-weight: bolder;
	color: white;
	margin-right: 1vw;
}


